package com.qf.hello.spring.rent;

/**
 * 房东联系的中介
 */
public class FangdongProxy implements Fangdong{

    private FangdongTarge fangdongTarge=new FangdongTarge();

    @Override
    public void rentHouse() {
        System.out.println("发布房源信息");
        System.out.println("带租户看房");
        //联系房东，让房东收房租
        fangdongTarge.rentHouse();
        System.out.println("给租户安排入住");
    }
}
